﻿@model AP.Framework.Infrastructure.Entities.cms_Contact
@Html.ValidationSummary(true)
<script type="text/javascript">
    $(function () {
        $('#Content').xheditor({ upLinkUrl: "/Admin/ContactUs/Upload",
            upLinkExt: "zip,rar,txt",
            upImgUrl: "/Admin/ContactUs/Upload",
            upImgExt: "jpg,jpeg,gif,png"
        });
    });      
</script>
<br />
<table id="tradeRecordsIndex" class="ui-table">
    <tbody>
        <tr>
            <td class="info">
                地址
            </td>
            <td>
                @Html.TextAreaFor(model => model.Address, new { @placeholder = "地址", style = "width:50%;" })
                @Html.ValidationMessageFor(model => model.Address)
            </td>
        </tr>
        <tr>
            <td class="info">
                联系人
            </td>
            <td>
                @Html.TextBoxFor(model => model.ContactPerson, new { @placeholder = "联系人", style = "width:50%;" })
                @Html.ValidationMessageFor(model => model.ContactPerson)
            </td>
        </tr>
        <tr>
            <td class="info">
                电话/座机
            </td>
            <td>
                @Html.TextBoxFor(model => model.Tel, new { @placeholder = "电话", style = "width:50%;" })
                @Html.ValidationMessageFor(model => model.Tel)
            </td>
        </tr>
        <tr>
            <td class="info">
                传真
            </td>
            <td>
                @Html.TextBoxFor(model => model.Fax, new { @placeholder = "传真", style = "width:50%;" })
                @Html.ValidationMessageFor(model => model.Fax)
            </td>
        </tr>
        <tr>
            <td class="info">
                手机
            </td>
            <td>
                @Html.TextBoxFor(model => model.Phone, new { @placeholder = "手机", style = "width:50%;" })
                @Html.ValidationMessageFor(model => model.Phone)
            </td>
        </tr>
        <tr>
            <td class="info">
                邮箱
            </td>
            <td>
                @Html.TextBoxFor(model => model.Email, new { @placeholder = "邮箱", style = "width:50%;" })
                @Html.ValidationMessageFor(model => model.Email)
            </td>
        </tr>
        <tr>
            <td class="info">
                QQ
            </td>
            <td>
                @Html.TextBoxFor(model => model.QQ, new { @placeholder = "qq", style = "width:50%;" })
                @Html.ValidationMessageFor(model => model.QQ)
            </td>
        </tr>
        <tr>
            <td class="info">
                MSN
            </td>
            <td>
                @Html.TextBoxFor(model => model.Msn, new { @placeholder = "MSN", style = "width:50%;" })
                @Html.ValidationMessageFor(model => model.Msn)
            </td>
        </tr>
        <tr>
            <td class="info">
                邮编
            </td>
            <td>
                @Html.TextBoxFor(model => model.ZipCode, new { @placeholder = "邮编", style = "width:50%;" })
                @Html.ValidationMessageFor(model => model.ZipCode)
            </td>
        </tr>
        <tr>
            <td class="info">
                账户
            </td>
            <td>
                @Html.TextBoxFor(model => model.Account, new { @placeholder = "账户", style = "width:50%;" })
                @Html.ValidationMessageFor(model => model.Account)
            </td>
        </tr>
        <tr>
            <td class="info">
                描述
            </td>
            <td>
                @Html.TextAreaFor(model => model.Content, new { @placeholder = "描述", style = "width:100%; height:250px;" })
                @Html.ValidationMessageFor(model => model.Content)
            </td>
        </tr>
        <tr>
            <td class="info">
            </td>
            <td>
                <div class="submit-time ui-button ui-button-sorange">
                    <button type="submit" class="ui-button-text">
                        保 存</button>
                </div>
            </td>
        </tr>
    </tbody>
</table>
